<% if params[:chart] %>
  $.lazybox("<%= j(render :partial => 'charts/line_container', locals: {chart_attrs: @chart_attrs,page_id: ''}) %>");
<% end %>
    